package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class HamsterRecord {
    private Integer id;

    private Integer userId;

    private Integer roomId;

    //地鼠种类标识：塑料头盔地鼠1；木头盔地鼠2；银头盔地鼠3；金头盔地鼠4；皇冠5
    private String hamsterKind;

    //锤子种类标识：1-木锤；2-铜锤；3- 金锤
    private String hammerType;

    //地鼠击中池id
    private Integer hamsterPoolId;

    //投入
    private Integer pay;

    //产出
    private Integer income;

    //最大礼物
    private Integer maxPrice;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField(exist = false)
    private String userUuid;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private Integer fromUserId;


    @TableField(exist = false)
    private String fromUserImg;


    @TableField(exist = false)
    private Integer fromUserLevel;

    @TableField(exist = false)
    private String fromUserSex;


    @TableField(exist = false)
    private String fromUserName;


}
